package com.exercise.game;

public class Ranking {

    // 对局数
    private int numberOfGames;

    // 步数
    private int stepNumber;

    // 结果
    private String result;

    public int getNumberOfGames() {
        return numberOfGames;
    }

    public void setNumberOfGames(int numberOfGames) {
        if (numberOfGames < 1) numberOfGames = 1;
        this.numberOfGames = numberOfGames;
    }

    public int getStepNumber() {
        return stepNumber;
    }

    public void setStepNumber(int stepNumber) {
        this.stepNumber = stepNumber;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }
}
